package com.gsafety.wellsfort.domain.vo;

import com.gsafety.wellsfort.annotation.ExcelField;
import com.gsafety.wellsfort.annotation.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel(value = "班级vo")
public class ClassVO {
    /**
     * id学校
     */
    @ApiModelProperty(value = "班级id")
    private Integer schoolId;

    /**
     * 班级名称
     */
    @ApiModelProperty(value = "班级名称")
    @ExcelField(sort = 1)
    @NotNull(desc ="班级名称")
    private String name;

    /**
     * 负责人姓名
     */
    @ApiModelProperty(value = "负责人姓名")
    @ExcelField(sort = 2)
    @NotNull(desc ="负责人姓名")
    private String managerName;

    /**
     * 负责人电话
     */
    @ApiModelProperty(value = "负责人电话")
    @ExcelField(sort = 3)
    @NotNull(desc ="负责人电话")
    private String managerPhone;


    /**
     * 班级总人数
     */
    @ApiModelProperty(value = "班级总人数")
    @ExcelField(sort = 4)
    private Integer total;

    /**
     * 状态:1表示有效，0表示无效
     */
    @ApiModelProperty(value = "状态:1表示有效，0表示无效")
    @NotNull(desc ="状态")
    @ExcelField(sort = 5)
    private Byte status;

}
